package edu.nf.utils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Column {

    /**
     * 列名
     * @return
     */
    String value() default "";

    /**
     * 是否为空
     * @return
     */
    boolean isNull() default true;
}
